<!--%import("filter/insert_project.xml")-->
<!--%import("js/issue_admin.js")-->
<!--#include("header.html")-->

<form action="{Context::getRequestUri()}" method="post" onsubmit="return procFilter(this, insert_project)" enctype="multipart/form-data">
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="module_srl" value="{$module_srl?$module_srl:$module_srls}" />

    <table cellspacing="0" class="rowTable">

    <!--@if(!$module_srls)-->
        <!--@if($logged_info->is_admin!='Y')-->
        <input type="hidden" name="mid" value="{$module_info->mid}" />
        <!--@else-->
        <tr class="row2">
            <th scope="row"><div>{$lang->mid}</div></th>
            <td>
                <input type="text" name="mid" value="{$module_info->mid}" class="inputTypeText w200" />
                <p>{$lang->about_mid}</p>
            </td>
        </tr>
        <!--@end-->
    <!--@end-->
    <tr class="row2">
        <th scope="row"><div>{$lang->module_category}</div></th>
        <td>
            <select name="module_category_srl">
                <option value="0">{$lang->notuse}</option>
                <!--@foreach($module_category as $key => $val)-->
                <option value="{$key}" <!--@if($module_info->module_category_srl==$key)-->selected="selected"<!--@end-->>{$val->title}</option>
                <!--@end-->
            </select>
            <p>{$lang->about_module_category}</p>
        </td>
    </tr>

    <!--@if(!$module_srls)-->
    <tr>
        <th scope="row"><div>{$lang->browser_title}</div></th>
        <td>
            <input type="text" name="browser_title" value="{htmlspecialchars($module_info->browser_title)}"  class="inputTypeText w400" id="browser_title"/>
            <a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','browser_title')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
            <p>{$lang->about_browser_title}</p>
        </td>
    </tr>
    <!--@end-->

    <tr class="row2">
        <th scope="row"><div>{$lang->layout}</div></th>
        <td>
            <select name="layout_srl">
            <option value="0">{$lang->notuse}</option>
            <!--@foreach($layout_list as $key => $val)-->
            <option value="{$val->layout_srl}" <!--@if($module_info->layout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
            <!--@end-->
            </select>
            <p>{$lang->about_layout}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->skin}</div></th>
        <td>
            <select name="skin">
                <!--@foreach($skin_list as $key=>$val)-->
                <option value="{$key}" <!--@if($module_info->skin==$key ||(!$module_info->skin && $key=='xe_board'))-->selected="selected"<!--@end-->>{$val->title}</option>
                <!--@end-->
            </select>
            <p>{$lang->about_skin}</p>
        </td>
    </tr>
	<tr>
		<th scope="row"><div>{$lang->mobile_view}</div></th>
		<td>
			<input type="checkbox" name="use_mobile" value="Y" <!--@if($module_info->use_mobile == "Y")-->checked="checked"<!--@end--> />
			<p>{$lang->about_mobile_view}</p>
		</td>
	</tr>
    <tr>
        <th scope="row"><div>{$lang->mobile_layout}</div></th>
        <td>
            <select name="mlayout_srl">
            <option value="0">{$lang->notuse}</option>
            <!--@foreach($mlayout_list as $key => $val)-->
            <option value="{$val->layout_srl}" <!--@if($module_info->mlayout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
            <!--@end-->
            </select>
            <p>{$lang->about_layout}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>Mobile {$lang->skin}</div></th>
        <td>
            <select name="mskin">
                <!--@foreach($mskin_list as $key=>$val)-->
                <option value="{$key}" <!--@if($module_info->mskin==$key ||(!$module_info->mskin && $key=='default'))-->selected="selected"<!--@end-->>{$val->title}</option>
                <!--@end-->
            </select>
            <p>{$lang->about_skin}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->issue_admin_mail}</div></th>
        <td>
            <input type="text" name="admin_mail" value="{$module_info->admin_mail}"  class="inputTypeText w400" />
            <p>{$lang->about_issue_admin_mail}</p>
        </td>
    </tr>
    <tr class="row2">
        <th scope="row"><div>{$lang->svn_url}</div></th>
        <td>
            <input type="text" name="svn_url" value="{$module_info->svn_url}"  class="inputTypeText w300" />
            <p>{$lang->about_svn_url}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->svn_cmd}</div></th>
        <td>
            <input type="text" name="svn_cmd" value="{$module_info->svn_cmd}"  class="inputTypeText w300" />
            <p>{$lang->about_svn_cmd}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->svn_userid}</div></th>
        <td>
            <input type="text" name="svn_userid" value="{$module_info->svn_userid}"  class="inputTypeText w300" />
            <p>{$lang->about_svn_userid}</p>
        </td>
    </tr>
    <tr class="row2">
        <th scope="row"><div>{$lang->svn_passwd}</div></th>
        <td>
            <input type="password" name="svn_passwd" value="{$module_info->svn_passwd}"  class="inputTypeText w300" />
            <p>{$lang->about_svn_passwd}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->description}</div></th>
        <td>
            <textarea name="description" class="inputTypeTextArea fullWidth">{htmlspecialchars($module_info->description)}</textarea>
            <p>{$lang->about_description}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->header_text}</div></th>
        <td>
            <textarea name="header_text" class="inputTypeTextArea fullWidth lang_code" id="header_text">{htmlspecialchars($module_info->header_text)}</textarea>
            <p>{$lang->about_header_text}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->footer_text}</div></th>
        <td>
            <textarea name="footer_text" class="inputTypeTextArea fullWidth lang_code" id="footer_text">{htmlspecialchars($module_info->footer_text)}</textarea>
            <p>{$lang->about_footer_text}</p>
        </td>
    </tr>
    <tr>
        <th colspan="2" class="button">
            <span class="button black strong"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
            <span class="button"><input type="button" value="{$lang->cmd_back}" onclick="history.back(); return false;" /></span>
        </th>
    </table>

</form>
